﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="BackGround_Login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>用户登录页面</title>
    <link rel="stylesheet" href="../App_Themes/CSS/Back.css" type="text/css">
</head>
<body>
    <form id="form1" runat="server">
    <div class="content">
        <div class="loginbg">
            <div class="input">
                <div class="input1">
                    <asp:TextBox ID="tb_UserName" runat="server" CssClass="textbox"></asp:TextBox>
                </div>
                <div class="input1">
                    <asp:TextBox ID="tb_UserPwd" runat="server" TextMode="Password" CssClass="textbox"></asp:TextBox>
                </div>
                <div class="btnlist">
                    <asp:Button runat="server" CssClass="button" ID="btn_Load" Text="登录" ValidationGroup="Load"
                        OnClick="btn_Load_Click"></asp:Button></div>
                <div id="div_Show" runat="server" style="color: Red; font-size: 12px;">
                </div>
                <div>
                    <div class="erromessage">
                        <font color="red">
                            <%=Request["ErrorMessage"]%></font></div>
                    <asp:RequiredFieldValidator runat="server" ValidationGroup="Load" ControlToValidate="tb_UserName"
                        ErrorMessage="请输入用户名" Display="None" Font-Size="Smaller"></asp:RequiredFieldValidator>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="tb_UserPwd"
                        ValidationGroup="Load" ErrorMessage="请输入密码" Display="None" Font-Size="Smaller"></asp:RequiredFieldValidator>
                </div>
            </div>
        </div>
    </div>
    </form>
</body>
</html>
